package cn.darkhorse.device.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 单据审核
 * </p>
 *
 * @author yuan jun
 * @since 2023-02-03
 */
@Getter
@Setter
  @TableName("mes_msg_audit")
@ApiModel(value = "MesMsgAudit对象", description = "单据审核")
public class MesMsgAudit implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("key")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty(" 提交时间(创建时间)")
      private LocalDateTime createTime;

      @ApiModelProperty("业务类型	0. 设备闲置管理	1. 设备维修管理	2. 备件入库管理	3. 备件申请管理	4. 点检计划管理	5. 点检计划调整	6. 保养计划管理	7. 保养计划调整")
      private Integer businessType;

      @ApiModelProperty("单据信息")
      private String billMsg;

      @ApiModelProperty("正常 0 删除 1")
      private Integer isDelete;

      @ApiModelProperty("JSON格式附加信息")
      private String other;

      @ApiModelProperty("发起人")
      private String creator;

      @ApiModelProperty("审核时间")
      private LocalDateTime auditTime;

      @ApiModelProperty("审核结果")
      private String auditResult;

      @ApiModelProperty("接收人id")
      private Long receiverId;

      @ApiModelProperty("业务id")
      private Long businessId;

      @ApiModelProperty("审核人id")
      private Long auditorId;
      @ApiModelProperty("审核标志未审0 已审1")
      private Integer auditFlag;


}
